package net.kazed.nextaction.database.serialize;


public abstract class AbstractElementHandlerWithContext<T> extends AbstractElementHandler {
    
    private ElementHandlerContext<T> handlerContext;
    
    public AbstractElementHandlerWithContext(ElementHandlerContext<T> handlerContext) {
        super();
        this.handlerContext = handlerContext;
    }

    /**
     * @return Context data.
     */
    public T getContextData() {
        return handlerContext.getContextData();
    }

}
